package org.dromara.event.domain.bo;

import org.dromara.event.domain.EnergyConsumption;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

/**
 * 能耗统计业务对象 energy_consumption
 *
 * @author YI LH
 * @date 2025-05-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = EnergyConsumption.class, reverseConvertGenerate = false)
public class EnergyConsumptionBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 能源类型（0水 1电）
     */
    private String energyType;

    /**
     * 实际消耗量
     */
    private Long actualUsage;

    /**
     * 预测消耗量
     */
    private Long predictedUsage;

    /**
     * 记录日期
     */
    private Date recordDate;


}
